<?php

namespace app\common\validate\Business;

use think\Validate;

class Record extends Validate
{
    protected $rule = [
        'total' => ['require'],
        'content' => ['require'],
        'busid' => ['require'],
        'state'=>['require']
    ];

    // 错误提示信息
    protected $message = [
        'total.require' => '消费金额必填',
        'content.require' => '消费描述必填',
        'busid.require' => '用户id必填',
        'state.require' => '状态消费积分必填',
    ];
}
